package com.moli.iov.sys.model.dto.req;

import com.moli.iov.sys.model.po.Permission;
import java.io.Serializable;
import java.util.List;
import lombok.Data;

/**
 * <p>
 *  角色权限DTO
 * </p>
 *
 * @author zql
 * @since 2019/9/6 15:32
 */
@Data
public class RolePermissionDto implements Serializable {

  public RolePermissionDto() {
  }

  public RolePermissionDto(List<Long> rolePermissions,
      List<Permission> permissions) {
    this.rolePermissions = rolePermissions;
    this.permissions = permissions;
  }

  /**
   * 角色权限集合
   */
  private List<Long> rolePermissions;

  /**
   * 权限集合
   */
  private List<Permission> permissions;
}
